Annotate GValue-variants methods of GtkAccessible
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 25 Aug 2020 10:31:26 +0000 (11:31 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 25 Aug 2020 15:36:08 +0000 (16:36 +0100)
The variadic arguments methods cannot be used by language bindings,
which means we can let them use their names when calling the
GValue-based methods.

gtk/gtkaccessible.c

index 79b56f6eeb38f334139abea4b4f24167d6ab96b8..0c9a399ef007aade1ae658ae69dde75f5b0d8b29 100644 (file)
@@ -179,7 +179,7 @@ out:
 }
 
 /**
- * gtk_accessible_update_state_value:
+ * gtk_accessible_update_state_value: (rename-to gtk_accessible_update_state)
  * @self: a #GtkAccessible
  * @n_states: the number of accessible states to set
  * @states: (array length=n_states): an array of #GtkAccessibleState
@@ -323,7 +323,7 @@ out:
 }
 
 /**
- * gtk_accessible_update_property_value:
+ * gtk_accessible_update_property_value: (rename-to gtk_accessible_update_property)
  * @self: a #GtkAccessible
  * @n_properties: the number of accessible properties to set
  * @properties: (array length=n_properties): an array of #GtkAccessibleProperty
@@ -458,7 +458,7 @@ out:
 }
 
 /**
- * gtk_accessible_update_relation_value:
+ * gtk_accessible_update_relation_value: (rename-to gtk_accessible_update_relation)
  * @self: a #GtkAccessible
  * @n_relations: the number of accessible relations to set
  * @relations: (array length=n_relations): an array of #GtkAccessibleRelation